<?php namespace App\Admin\Finance\Invoice;

use App\Core\Model as BaseModel;

class Model extends BaseModel {

    protected $table = 'invoice_record';
    protected $primaryKey = 'id';

    public function user(){
        return $this->belongsTo('App\Admin\User\User\Model', 'user_id', 'id');
    }
}